<{if $data.top_html}><{$data.top_html}><{/if}>
<form action="<{link app=b2c ctl=site_search act=result }>" method="post" class="SearchBar  searchBar_<{$widget_id}>">
  <table cellpadding="0" cellspacing="0">
    <tr>
      <td class="search_label"> <span><{t app='b2c'}>关键字：<{/t}></span>
      <span style="position:relative;display:inline-block;"><input type="text" name="name[]" value="<{$data.search_key}>" autocompleter="associate_autocomplete_goods:name,goods_id" ac_options="{}" class="inputstyle keywords"  /></span>
      </td>
      <{if $setting.searchopen}>
      <td class="search_price1"><{t app='b2c'}>价格从<{/t}> <{input name="price[0]" type="number" size="4" class="inputstyle gprice_from" }></td>
      <td class="search_price2"><{t app='b2c'}>到<{/t}><{input name="price[1]" type="number" size="4" class="inputstyle gprice_to"}></td>

      <{/if}>
      <td><input type="submit" value="<{t app='b2c'}>搜索<{/t}>" class="btn_search" onfocus='this.blur();'/>
      </td>
      <td><a href="<{link app=b2c ctl=site_search act=index}>" class="btn_advsearch"><{t app='b2c'}>高级搜索<{/t}></a> </td>
    </tr>
  </table>

</form>
<{if $data.bottom_html}><{$data.bottom_html}><{/if}>